#include<t_stdio.h>
#include<t_stdio.h>
#include <asm-generic/fcntl.h>
#include<string.h>
int main(int argc, char * argv[]){
    char * msg="徐非我要和你生猴子..\n";
    //打开文件，以写的方式打开
    int fd = open(argv[1],O_WRONLY);
    if(fd==-1)E_MSG("open",-1);
    write(fd,msg,strlen(msg));
    close(fd);
    return 0;
}